﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Admin_Login" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>管理员登录</title>
    <link rel="icon" href="../Static/pic/video.ico">
    <link href="../Static/css/amazeui.min.css" rel="stylesheet" />
    <script src="../Static/js/jquery-1.10.2.min.js"></script>
    <script src="../Static/js/amazeui.min.js"></script>
    <script>
        function ShowMessage(inf) {
            $('#Message').text = inf;
            $('#inf').modal();
        }
    </script>
</head>
<body >
    <div class="header">
        <div class="am-g" style="text-align: center">
            <h1>电影世界</h1>
            <p class="am-kai">
                "我们一路奋战，不是为了改变世界，而是为了不让世界改变我们."<br>
            </p>
        </div>
        <hr>
    </div>
    <div class="am-g">
        <div class="am-u-lg-6 am-u-md-8 am-u-sm-centered">
            <h3 style="text-align: center">管理员登录</h3>
            <hr>
            <form method="post" class="am-form" runat="server">
                <asp:Label ID="Label_id" runat="server">账号:</asp:Label>
                <asp:TextBox ID="admin_id" runat="server"></asp:TextBox>
                <p class="am-kai">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="×登陆id不能为空" ControlToValidate="admin_id" ForeColor="Blue"></asp:RequiredFieldValidator>
                </p>
                <asp:Label ID="Label_password" runat="server">密码:</asp:Label>
                <asp:TextBox ID="password" runat="server" TextMode="Password"></asp:TextBox>
                <p class="am-kai">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="×密码不能为空" ControlToValidate="password" ForeColor="Blue"></asp:RequiredFieldValidator>
                </p>
                <br>
                <div class="am-cf">
                    <asp:Button runat="server" ID="bt_login" type="submit" name="" Text="登 录" class="am-btn am-btn-primary am-btn-sm am-fl" OnClick="bt_login_Click" />
                    <asp:Button runat="server" ID="bt_forget" type="submit" name="" Text="忘记密码 ^_^?" class="am-btn am-btn-default am-btn-sm am-fr" />
                </div>
            </form>
            <p>© 2017 scetc.cyh</p>
        </div>
        <div class="am-modal am-modal-alert" tabindex="-1" id="inf">
            <div class="am-modal-dialog">
                <div class="am-modal-hd">信息</div>
                <div class="am-modal-bd" id="Message">
                   
                </div>
                <div class="am-modal-footer">
                    <span class="am-modal-btn">确定</span>
                </div>
            </div>
        </div>
    </div>
</body>
</html>
